package cn.liuhuan1.blogsModel.dao;

import cn.liuhuan1.webModelBean.vo.WebUserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WebUserDao {
    public List<WebUserVo> getWebUser();

    List<WebUserVo> getInId(@Param("idList") List<String> idList);

    WebUserVo getById(@Param("id") String id);

    void insert(WebUserVo webUserVo);

    List<WebUserVo> getByMail(@Param("mail") String mail);

    public List<WebUserVo> getByMailAndPassword(@Param("mail") String mail, @Param("password") String password);
}
